fix discounts vs. quantities for prorate packages, RT#23530