Job id duplicate fix

Changed how job id's are created to avoid the same id to be assigned to
two concurrent jobs.