Fixed key length limit bug in tag tables per Issue #897