If node id is set as the node name in the tree, make sure it keeps brackets

http://manage.dimagi.com/default.asp?68780