fixes genders search bug