replaceFiltersCache(map = new Map()) {
    this._filtersCache = map // See redux/nodes.js for usage
  }
Replace the cache either with the value passed on (mainly for tests) or
an empty new Map.

@param {undefined | null | FiltersCache} map
This cache caches a set of buckets (Sets) of Nodes based on filter and tracks this for each set of types which are
actually queried. If the filter targets `id` directly, only one Node is
cached instead of a Set of Nodes. If null, don't create or use a cache.