Curious, is this a change in functionality - or was it guaranteed before the if inserts(idx) was maximum that the state before was an insertion?  Could we add some docs here?