Fix bug that occasionally errored every page