This can sometimes happen if certain conditions are met. It's usually not a bug, rather a limitation of the system, which results from a latency-vs-freshness tradeoff we have to make in ads serving.
It stems from the fact that the data structures used for serving the actual job ads are different than the master ones about jobs. Furthermore, there's a slight delay between when a job is modified and when the serving data structures get updated. In technical terms, the former are eventually consistent with the master data set. Jobs have a period they're active, and we use that to not serve them for more than they should. But sometimes a job is cancelled before its period is up, and in that case we'll end up serving it for more than we should, and direct people to a job which isn't active anymore.
I've a strong belief that this is what happened in your case. But if you have any extra info, like the actual job involved etc. it would be most welcome. Perhaps there was indeed a bug somewhere.