Bug Fix: properly handle transaction restarts in index caches