Fix ConcurrentModificationException when seting a probability to 0 in an iteration in Multinomial.