Changed method in searchResult for filtering of result searching