unique constraint problem fixed for job tracking