Oh, I see. That makes sense.

Seems like all string -> number conversions have this problem. Can you modify "tonumber" to be a separate function (`lua_tonumber`), move this fix there, then use it for conversion instead?