The error page filter now behaves in a more predictable manner.