Fix bug in webservice_search