Fix a bug that prevented back/next from jumping across chapters.