Fixed KeywordCipher bug