Fix getChildrenIds