wrong index check (shortened list is used, index compared to old length)