Validation for genders, fixes #51