If the site has many storeviews/websites, when enabling the module Hreflang Tag Support on Magento 2.2.x, it causes the issue layer navigation URL.

To fix this issue, we would like to prove the hot-fix solution.

We have modified this file app/code/Bss/HrefLang/Block/HrefLang.php

Please check and overwrite the file above as the attachment on your site to solve the issue.

If you have any issues, please feel free to contact us.

We'd like to help.