Fixed bug with memcache.