Fix channel database bugs relating to users being kicked.