Fixed off by 1block error

The final block was being encrypted with the same counter value as the
second to final block.  Issue was resolved by setting the IV one last
time before the final encryption/decryption