Fixing syntax error in search results that caused 500 on search.