fixed the defect in displaying 'no results found'