Ensure any rewritten entries are learned by seen

Also adds an optimisation to prevent getting the first page of
chapters twice.