fixed the bug when selecting male and then selecting person attribute Expectant Mother in edit