More fixes of provenance when running in parallel