Fix HTTP status code when the handler is not found