Search the tree