Fix bug in LuaUserdata.coerce