Fix bad usage of cache::inc breaking with memcached migration.