#46: Detect failed item decryption

Fixes #46.