include/exclude subtree for search by input