Improved Attribute comparison.