Query analysis result by registration mac address

I want to query the results of an analysis for a particular computer, much like what is done here:

However instead of retrieving the results by computer name I want to use the registration mac address, which we keep in a custom property. The query I am trying looks like this:

(values of results whose (“customMAC” of computer of it contains “00-23-32-9c-70-38”) of it, names of it) of properties of bes analysis whose (analysis flag of it and name of it = “Hardware Information (Mac OS X)”)

The query just returns plural without any properties. I know there’s a chance that the same mac address can be associated with more than one computer, but I can’t seem to get the syntax right for displaying unique values.

1 Like