bugfix in generation of muliple BayesNet Datasets