This fixes lumi counting for output datasets with multiple runs