Fixed an error where Gender exceptions were thrown