Minor fix form validation