Fix bugs with coupons.