Fix decrypting of arrays