Fixed non-exhaustive case in unit conversions.