Actually search the rest of the document

Do what the comment says. The offset parameter to `with_index` simply sets
the index offset, not the iteration offset.

Also closes #154.