Fix multiple return values from Lua conversion

Signed-off-by: katlogic <kat@lua.cz>
ipairs() and pairs() fixes

Signed-off-by: katlogic <kat@lua.cz>