fix interaction of percentage discount and quantity, #19354, etc.