* added jediTaskID and datasetID in the where clause of updateUnmergedJobs