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.
Merge pull request #168 from Stebalien/fix-summary-generation

with_index does not set the iteration offset.