Work around limitations of integer keys in table code.

Signed-off-by: katlogic <kat@lua.cz>