Ah, thanks for finding that!
I decided to rename the old class to make the steam ones all stop, because it was becoming too difficult to distinguish the old ones from the new ones, after a while. Cancelling the job instead sounds like a sensible solution.
Something that you might want to consider, but may be too much effort, is to have another type of station, similar to the depots, that such trains go to when they are not in a consistent state, e.g. have the wrong cargo for their class / have an unknown class. Something like a "Repair Station"?