Fixing oversight

Changes:
- Final tag in tags list is now encoded as well