Fix reading back of provenance records by fixing self reference.
This may fix some problems reported in Jira ATEAM-782 by correcting the provenance records.
Edited by Peter Van Gemmeren
This may fix some problems reported in Jira ATEAM-782 by correcting the provenance records.