Fix bug causing admin/renderAgents to incorrectly display active work