Fix small bug when return 0 search results.