Custom Progress bar behavior, level = min shows no section/ progress

When using a progress bar min 0 max 10 sections 11, a level of 0 should show 1 section but doesn't. Level 0 shows 0 section, 1 shows 2.

Same for min -1 and 12 sections (level 0 shows 2 sections, -1 none) or min 1 10 sections etc...

It seems as if when Ilevel is the same as min there's no section shown at all, while the next higher lvl shows 2 sections