Ah, this is a really good point. In fact, I think I had noted somewhere that cancelling should put it in the cancelled state, but in my other pull request, I did not do that.

If you don't mind, I'll fix this in the other pull request, which I will now retract until I have that fix in place there.