This bug applies to both product editing and deliveries, where the product-supplier relationship has Auto Price Update set true.
1. create a product with 2 unit prices, one expiring yesterday
2. on the Suppliers tab, add a supplier relationship
3. tick the Auto Price Update flag and change the List Price. All unit prices will be updated, whereas only those active at the current time should update