Fixes clearing of the search box.

If the search box is cleared and then a query is completed the treeView does not get populated with search results