Exiting search when nothing selected