Good catch, I think it should set the state to cancelled as well, that seems more correct.