Bug fixing: --source-attributes and --dataset-attributes where not updat...

...ed