Fixes for bug #50317: Correct AliGenPythia for B-jet studies (Jennifer)