Fix actualOffset() and actualIndex().

Some tests now I-loop, but that bug was probably there before too.