Gotham: fix tag read

Backport of PR #4792