Many slaving countries were democratic as it was understood at the time. All modern democracies disenfranchise some people e.g. the young, people with criminal convictions in some countries.