The condition says “Any of the following are true”:
A group is not a smart group and therefore this is true, just like a smart group is not a group and documents are neither tags nor (smart) groups. And therefore this condition matches all kinds of items.