Fixed a bug with finding the root node when loading from perimeta files.