Memcached disabled case fix.