Fixed wrong inner node type in fetchTree.