Made Sex field conditional.