Excluding Domain Controllers in Query

Howdy
I have been working on excluding domain controllers from some queries for a while.

I have tried a few things and one was to create a dynamic group that populates with all of the domain controllers. Then I followed something on here and used a relevance statement that should exclude the computers based on the group ID, but that fails to remove all of the domain controllers.

I could enter the names in the relevance clause, but I’m not sure how to do that.

Can anyone help?
(version of client >= “6.0.0.0”) AND ((not (exists true whose (if true then (member of group 00-74522 of site “actionsite”) else false))) AND (exists true whose (if true then (exists (operating system) whose (it as string as lowercase contains “win” as lowercase)) else false)))

You can use the operating system product type inspectors on Windows machines:
product type of operating system = nt domain controller product type