Hide the tree if search result is null