Fix variable mismatch for job counts

During the JobQueue refactor two variables were accidentally swapped, causing waiting jobs to be reported as running and running jobs to be reported as waiting.