Fixed equality case with version check.
Applied version check to UnitDamaged argument order.