Make the formatter resilient to a segfault introduced by ruby-units