Price unit from a purchase price agreement was not applied correctly in certain situations

The price unit of a calculation material was not applied correctly if there was a price agreement with a price unit of the type 'Per...'.