Fixed bug in Lua error message reporting.