This is not a "bug." In most programming languages the start of something is not '1' it is '0'
So at the moment disregard the minimum value and assume it is 0. So your maximum is whatever you want say 6. So you can get 0 , 1 , 2 , 3 , 4 , and 5. Now count how many numbers that is. 6 The maximum really specifes how many numbers you can display starting with 0. That is why it is a bit odd.
Let's take your first example.
Min : 1
Max : 4
However remember that the computer starts with 0 so instead make it :
Min : 0
Max : 4
So what you would be able to display 0 , 1 , 2 , 3. Note how we have 4 numbers. But wait we have a problem your output did not show 0.

So this is what I
think Alice does. It finds the numbers we just found above and then uses the minimum value to determine how many of those it should display. In your case since you specified 1 it would display 4 - 1 or 3 different numbers. Them being 1 , 2 , and 3.
Hope that is not too confusing.