Corrected error in condition for checking duplicate coupons