Bugfix and accumulator version for get_tags in exhLang