Ex 12 - works OK for 0 and 1 node, but is endless looping for others.
Patched looping bug.

Only test for null list, not single node list before loop.
Merge branch 'dev'
Did something odd here with the merge --squash command.
Not sure if this will fix it