Correction in CompareElement (to prevent from crash when vacuum (z<1) is passed.