fix bug in quicksearch if results == 0