Minor fix

Probably doesn't fix the root problem, but should avoid a Lua-error
triggered kick.