Made changes to the list view in case of search.