Fixed typos and bugs in hgfs. Fixes #7687
Fixed typo in comment
Merge pull request #7742 from shadowfax-chc/hgfs-tags-issue

Hgfs tags issue