handle missing document in getChildren()