Fix minCount for ranges of immutables