Fix for when memcache is used as the cache store.