Python negative indexing isn't modulo. It's just shorthand for array[len(array)-i].
>>> a = [1, 2, 3]
>>> a[-1]
3
>>> a[-2]
2
>>> a[-3]
1
>>> a[-4]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IndexError: list index out of range