Fixed bug where page_id's would be out of date when processing the first document requests (incl. redirects).