It was because I was getting confused between the different tokens we had available. I've added a docstring to remind myself in future.