Fixed problem with naming of nodes being empty.