Having played around with a Syntax query until it worked, I came back later to run it again from the Query menu in Syntax search:

However this produced 0 results.
If I open the query from the file menu so that it opens it in the Query editor and run the search from there, it works fine...

Perhaps the Query menu is pointing to a previous version of my syntax query that produced no results?