csa: fix some silly mistakes in TS processing

I have now managed to get a cwc decryption to work on my system.