Fixed bugs in choosing alternate parents in the family object.