Fix some crashes in clans