There seems to be a bug when resetting the math for the flavors after serving or discarding an ice cream, which leads to inconsistent results. It's carrying over some of the number from the previous ice cream.
This seems like it would be fun to play with a little bit more work, though!