RF-11453: fix caching in autocomplete mode