Removal of search strings in case of viewall