When adding purchase price agreements to an outsourcing, the item was not taken into account

When adding new purchase price agreements to an outsourcing, the item was not correctly taken into account. If you had created a price agreement for a different item on the same creditor combination, the existing price agreements were set to inactive.