Fixes wrong coupon calculation.