The {{#tag}} helper is not working in recent update v-3.22.2

Hi,
We are facing a data rendering issue on a recent update (V 3.22.2 ) on the theme. We pointed our tag pages from /tag/{{slug}}/ to /{{slug}}/.

We have created a custom file called example.hbs in which the {{#tag}} helper is not working.

This was working fine in version 3.20.3. After updating to 3.22.2, the tag’s name and description didn’t show up. Only the posts in the tag were being displayed.
We’ve defined a template for each of the collections, but they’re nothing but a version of the tag.hbs.

Here is our routes.yaml file:
    routes:
    collections:
      /:
        permalink: /{slug}/
        filter: tag:-scrum+tag:-kanban+tag:-reports

      /scrum/:
        permalink: /scrum/{slug}/
        filter: tag:-agile+tag:-kanban+tag:-reports
        template: scrum

      /kanban/:
        permalink: /kanban/{slug}/
        filter: tag:-agile+tag:-scrum+tag:-reports
        template: kanban

      /reports/:
        permalink: /reports/{slug}/
        filter: tag:-agile+tag:-scrum+tag:-kanban
        template: reports

    Taxonomies:
      tag: /{slug}/
      author: /author/{slug}/

Here’s our example.hbs file:`

{{!< default}}
{{#tag}}
<header class="site-archive-header">
{{> site-header}}
{{> header-background background=feature_image}} {{!--Special header-image.hbs partial to generate the background image--}}
    <div class="inner site-header-content">
        <h4 class="site-title">{{name}}</h4>
        <p class="site-description">
            {{#if description}}
            {{description}}
            {{else}}
            A collection of {{plural ../pagination.total empty='posts' singular='% post' plural='% posts'}}
            {{/if}}
        </p>
    </div>
</div>
</header>
{{/tag}}


{{!-- The main content area --}}
<main id="site-main" class="site-main outer">
    <div class="inner posts">
        <div class="post-feed">
            {{#foreach posts}}
                {{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
                {{> "post-card"}}
            {{/foreach}}
        </div>
    </div>
</main>

{{> site-header}}

Alternatively, we tried this but didn’t have any success:

{{#get "posts" filter="tags:kanban"}}
<header class="site-archive-header">
       <div class="inner site-header-content">
           <h4 class="site-title">{{name}}</h4>
           <p class="site-description">
               {{#if description}}
               {{description}}
               {{else}}
               A collection of {{plural ../pagination.total empty='posts' singular='% post' plural='% posts'}}
               {{/if}}
           </p>
       </div>
   </div>
</header>
{{/get}}

At the moment, we’ve got a static version running. But would love to have it dynamic.
Thanks in advance.