Fix ExceptionResult status code (fixes bug # 1318).