Fix for rare occasions when societVariables[socket.id] isn't set.