Fixed localhost URLs matching all sites problem.