I would argue that since most of the other code has been refactored to change ids to classes this would be consistent with that. It could be possible that there is at some point a desire to have this error message styled differently.

".swarm-reset-runs" and the other similar buttons only concern a specific element on the page and classes were used in these cases, (and used as selectors in job.js to handle those click events).