Fixes problem with gender filter