Fixed a bug I had stupidly missed (despite testing!) in DataManagerImpl
that was resulting in infinite loops in all for loops over Nodes; caused
by not properly incrementing the node, i.e. increment expression was
node.getNextSibling(), should have read node = node.getNextSibling().
Silly mistake