Check the crime statistics! Homes near jails are pretty safe! The inmates are locked up! It really as no effect on real estate vaues.
Take a look at homes near San Quentin. This is a prison that harbors some of the most hardened criminals in California. Low crime rate and high home values. Not a lot to be concerned about IMNSHO.