Fixed renaming of node-trees for the NodeItemManager.