Correct units comparison for negative quantities