Fixed condition of domain type (VPC or standard) selection to check content of security groups.