Tweak to GetStringValue in Lua