allow as_trees to deal with orphan children