Fix incorrect page numbers after an unsuccessful fetch by incrementing
them only upon success.