Correct search.tree2.cc and unit test logic.