Weirdly, the raid flags in the combat log which are used to determine the raid target icon of a unit don't appear to fill in while you're alone or in a random group, they only seem to work if you're in a proper party (and I assume raid) formed on your own server.