If you select 'Add a new male child', it shows the text 'Male child of ...' in red at the top of the window. However, if you change the gender to Female using the pop-up menu, it still says 'Male child of ...'. It's not a functional problem, as the child created is Female in this case, it's just a display problem.