Make jobs.active work correctly.

* Fixed output of running minions (#9526)
* Correctly identify returned minions.
Merge pull request #12042 from cachedout/9526

Make jobs.active work correctly.