Fix mode output being duplicated during autojoin.