Now tolerant of duplicate job_ids representing different jobs.