Fix for non-found files reporting a 500 server error.