Ensure sex is a valid enum value before saving