Fix validation for discount