I struggled with a better solution as well – I looked long for it. This is the best (as in works everywhere) I could find. Resetting it in a different way does not work, unfortunately, and initializing it is the only possibility and can be done just before a search action.