Fix root node reference in node tree method.