Fixed indexing bug causing index to be inconsistent

Forgot to decrement index just like I decremented the list iterator when
the iterator wraps before the first item.