unselect nodes until the search is correct