In the errors sidebar, we need to disable next/preview buttons to prevent rendering current page again and again when there are no more pages to go to