AttributeList: tweak the conditional order to avoid two strcmps