More accurate fix for equal when the attribute name is not there