If people who knowingly infect you with AIDS get thrown in jail, why should it be any different with people who knowingly decide to increase your chances of contracting any other disease?
I say supervised interactions with society is a very sane compromise for people who pose a danger, but may still have something to offer. As opposed to outright killing them.