Improved error logging for cases when 2 tags with the same name are passed in (1940674)

* Improved error logging for cases when 2 tags with the same name are passed in (1940674)
* Excluded hidden tags from output