Fixed bug in getting root nodes. The sort by field was missing the 'node' alias