Fix bug when using multiple memcached servers