Fix for  Issue #31, clean up lua stack if a variable not found