Add root node to nodeset when node is specified and nodetype is 'exclude'.