Fix issue with failing Http404 response.