Improved equality check for EMKAttributeMapping