Provenance logging: Fixed wrong identifiers