[TIMOB-16381] Retain the searchString instance
Merge pull request #5325 from vishalduggal/timob-16381-32X

[TIMOB-16381] Retain the searchString instance