Minor fix for Lua runSQL function.