Fix Mongodb caching.