updated coupon expiration logic