Fix channel vote database issue

Fixes https://github.com/Tribler/tribler/issues/762.