Merge datasets corrected