fix exists() return value for cached keys
clean up
Merge pull request #644 from ikkez/fix-cache-exists

fix exists() return value for cached keys