Fix bug that assumes we have real when checking can_have_children.