Job id duplicate fix

Changed how job id's are created to avoid the same id to be assigned to
two concurrent jobs.
Merge pull request #852 from Arcadelia/Duplicate-job-id-fix

Import job duplicate id fix