This is no longer incorrect, but it's still redundant.  And the end of the loop, `i` is incremented, it is no longer less than size so it terminates with a value of what was `i + 1` at the bottom of the loop.