Simplify BTree::search.