Fix crash in LuaInterface.

Fix for loading lua values where an empty stack could be accessed and
cause a seg fault.