Fix the page skipping bug in continuous rebuilding.