Minor changes to /search

If there is no result, show error message.
The pagination will also be consistent to the actual number of crawled results.