fix which corrects a problem when using Pythia8 as a decayer.

Patch by Andreas Morsch.