Fix crash when not reusing pages.