[TIMOB-15019] (3_1_X) Rebuild search results on cancel

Backport of PR #4640
Test is in [JIRA](https://jira.appcelerator.org/browse/TIMOB-15019)