Fix issue introduced by pythia8 migration