(ITS#6753) Compare operation broken with attribute inheritance