Added loop of errors to default error page.