Fix validation of selects