Debugged for 2 days only to find out that node_path_length should be len(node.node_path) + 1 to take the original node into account. Doh.
Debugged for 2 days only to find out that node_path_length should be len(node.node_path) + 1 to take the original node into account. Doh.

theonaun/theo_site,theonaun/theo_site,theonaun/theo_site,theonaun/theo_site