Changed condition for checking duplicate coupons