performValidation

Skip useless double if