Get rid of overly complicated datomic query caching.