Check the data types inferred by Glue when creating the table.
If the “Gender” column was inferred as a string, Glue DQ may treat blanks as valid values.
You can manually adjust the schema in the Glue Catalog or apply a schema mapping transform to ensure null handling works properly.