This isn’t the most brilliant of tips, but here it is anyway…
If you require two or more color-labels/“flags” to visually appear on at DT item, I have found the standard unicode symbols for this purpose, to work perfectly well. These are available on the usual MacOS symbol/emoji viewer. As they are treated like text, you can therefore search, for example, for the yellow circle using the “Name contains” operator.