Add custom comparison for unit values