Cleanup job_pattern to get only one pattern per entry