Comparing classes with != can fail in unpredictable ways
Only add metric units to annotation info if not null