Obsidian Query: path filter doesn't work when multiple tags are specified

Things I have tried

  • Searched the forum for similar filtering issues with path filter.

What I’m trying to do

I’m trying to create a simple query to fetch a set of tags in a given file, filtered by path:

tag:#tag1 OR #tag2

This results in all references to #tag1 and #tag2 in my obsidian vault (not filtered by the path specified).

Any suggestion ?
Is this a bug ?

Thanks !

try this:

(tag:(#tag1) OR tag:(#tag2))