The Search for Other Earths: Limits on the Giant Planet Orbits That Allow Habitable Terrestrial Planets to Form