Fix bug with import children.