deselect rows. Clears tableview if the searchbar is empty.