Search.exclude setting seems to no longer be working

From our vscode workspace settings:
“search.exclude”: {
/dist/”: true,
/node_modules/”: true

This is not filter out paths that match either of those glob patterns, when I use the search feature in cursor. Note that when add these patterns to the “files to exclude” input in the search, they do work.