Fixed cache flushes for fetch_where