The . is special as it is used for hierarchical tags. You can search instead for
=..tag
which is also the search expressoin generated if you click on the tag in the tag browser.
i.e. use two leading dots instead of one. See the para on hierarchical items here:
https://manual.calibre-ebook.com/gui...arch-interface