Fix broken logic in running_jobs_for_run()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>