fix prorating w/quantities, RT#21283