Bugfixes inside get-page-headers.