Optimized build-nested-set, refs #5667
Optimized build-nested-set, refs #5667

- Also fixed a syntax error at a throw new sfException

artefactual/atom,artefactual/binder,artefactual/atom,Surfrdan/atom,artefactual/binder,kyfr59/atom-cg35,Surfrdan/atom,artefactual/binder,kyfr59/atom-cg35,CENDARI/atom,artefactual/atom,kyfr59/atom-cg35,Surfrdan/atom,CENDARI/atom,artefactual/binder,CENDARI/atom