more bug fix for GetSearchResults