Fix bug in getNextLevel step for level page.