Fixed issue where no prev/next