interesting choice to wrap rather than clamp the index. 
I could see why you might want to do this for moving through a line in a loop - but a little bit of a strange default setting