Fixed 'encrypt to default key' issue