tune pruned particles and protect from null pointer the JetFlavourIdentifier