Fixed bug with memcached and map cache