Fixed malformed call to search