I added my own Male/Female only genes, taking Genitalia and Order in Account. Yet there was no issue with this.
Maybe you can also fix it by changing `<DisplayOrderInXenotype>` in the Male/Female only Genes of the Steamworkshop, to be higher than the ones about genitalia. This way, the gender should be changed before my genes fire.