Fixed relative_discount calc.