Fixed bug with caching in string.totable()