Fix on locale and gender

if permissions are setup well, then these values will not be returned.
This results in non-favorable results and breaks the searched. Fixed
for now.

happy hunting.