only validate coupon max_redemptions if is defined