fixed error where conditions were not being generated with equal
probability