Cash bail is a suspension of rights for the poor upon arrest.
During the term of a sentence we suspend some rights and do not return them once someone has served their sentence.
If your nation has imprisoned enough people that allowing those prisoners to vote is a threat, you probably aren't the good guys.
Not to mention setting up the Evil Baby Orphanage for all the mustache men and orange toupees of the multiverse.