Fixed bug in gender check