Hello Harry,
Thank you for this great improvement, but, it doesn't work with the BooleanSelector, since, there is no output Value for this object.
So I used the DiscreteDistribution, instead of BooleanSelector, to return 0 or 1, and it works.
I still don't understand how to use a BooleanSelector. Indeed, this object has no output, and it can't be used by a EntityGenerator.
Best regards