No link shows up under query if searching for page link is the same as the current page

I would love to make some queries at the end of some pages that would only include instances with tags from the current page I’m on, tags that can occur on other pages. Problem is that no link shows up under query search for the current page. When writing the link manually the query works, even if it does not show up in the search dropdown. Is this just a bug or am I supposed to do write the query differently, using a property?

My formula

{{query (and [[the page I'm on]] [[tag]]) }}