Fixed error where gender was defaulting to male even when saved.