Fix bug in cluster selector.
NodePathLength changed from nice, clean, immuatable, recursive, slow to
a horrid, dirty, mutable, looped, fast method.