Update gender value in the database as consistency and fix the filter by gender