I think you are somehow incorrect because I’m fairly sure it wasn’t this way before, because I use this sort of thing all of the time, especially on windows, and it seems to be fixed in the newest patch:
Q: version of client
A: 9.5.4.38
T: 5003
I: version
Q: exists files "QnA GUI" of folders "Contents/MacOS" of folders "QnA GUI.app" of (it; folders "Utilities" of it) of folders "/Applications"
A: True
T: 1354
I: boolean
folders "QnA GUI.app"
might technically be singular, but the important part is that it should catch and ignore nonexistence errors instead of throwing them. That’s really what makes it a plural in my mind is how it behaves in an error condition.
Q: folders "C:\Windows\temp";folders "/tmp"
A: /tmp
T: 161
I: folder
Relevance eval is halted on nonexistence error when singular:
Q: folder "C:\Windows\temp";folder "/tmp"
E: Singular expression refers to nonexistent object.
T: 166
I: folder
Here are related examples:
Q: folders ("/";"/tmp")
A: /
A: /tmp
T: 157
I: folder
Q: (it; folders "tmp" of it) of folders "/"
A: /
A: /tmp
T: 77
I: folder
Q: folders ("tmp";"Users") of folders "/"
A: /tmp
A: /Users
T: 333
I: folder
Q: number of folders of (it; folders "Utilities" of it) of folders "/Applications"
A: 81
T: 9975
I: integer
Q: number of folders of (it) of folders "/Applications"
A: 57
T: 7984
I: integer
I guess I need to dig up an older version of the client to see if the behavior is the same or not. The fact that it seems to be fixed in the newest version suggests there isn’t anything to fix, but this regression for at least version 9.5.2.56 isn’t great, especially if this wasn’t fixed on purpose.