fix over-discounting resulting in an error, RT#13450