I still fail to see the problem. What harm exactly do you think a prisoner can do through his/her single vote beyond your unwarranted scaremongering?

And if a foreigner has been living in a city or a country for years then I don't see why he shouldn't get a vote.