Fix to avoid the 'TypeError: Cannot set property _msearchTimer of undefined' error