Query by page-tags does not work

I have template Recipe Template. Part of template is page tag tags:: recipe. When I tried to filter pages with query:

{{query (page-tags recipe)}}

I receive only one result (there should by 5 of them).

When I click on recipe tag, the page will open and I can see only one reference exists. I tried to restart logseq but it did not help.

The first recipe, and the only one which is in result, has been implemented manually, other 4 pages has been created over template.

Can somebody help me to figure out where could be the problem?

EDIT1: when I rewrite the tag section with the same tag name, it started working. So I assume the problem is because it is created from template.