Fixed the search tree printing