Hiding Root elements on search-fail

Updated selector to also grab root level elements in the tree and hide them if the search doesn't match.