Fixed bug handling errors from search server.