Added decryption compatibility with some strange behaving devices