Make jobs.active work correctly.

* Fixed output of running minions (#9526)
* Correctly identify returned minions.

Closes #9526