Fix for getDefaultMeasurementUnit() method