And rename the field used for caching from _id to _cache_key.
HomeServer.get_datastore()
PushRuleEvaluator
Filter