Fix issue where tree searcher would run two searches at once.