Why does my active link automatically convert to an inactive one?

Hello,

Trying to register an active link but whenever the page loads, the URL is instantly converted and the link loses its “active” state.

“Active” link https://granddesignfyi.com/collections/coasters-single-coasters/Dogs

“Inactive (converted)” link https://granddesignfyi.com/collections/coasters-single-coasters?q=tg_:Dogs

Yu can see my little nav test at the top of the page: https://granddesignfyi.com/

Driving me crazy!!!

Thanks,
SP

My nav test code

    {% for link in linklists.single-coasters-categories.links %}
  • {{ link.title }} {% if link.links != blank %} {% endif %}
  • {% endfor %}