Close tag in advanced search of nodes