Minor fixes to gender determination