Fixed "A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE" memcached errors

Change-Id: Id47395f17df1b34c2f96da3168c181d0ccd93f0a