Fix random gender generation