Properly expand hosts with multiple IPs