Fixed validation for radio and checkbox