Currently, we would only increment inside the while loop when we are setting an exclusive range key for lower bound.

We increment at end when 
1) We are setting an inclusive range for upper bound anywhere inside the key
OR
2) We are setting an inclusive single for upper bound at the last slot.

So we will not run into the situation of increasing twice at the end.

If we use the !range.isSingleKey, then we will increment the (1) situation above inside the while loop too, which is the situation I am trying to address to make the bound tighter.