Correcting the security group id lookup from the list of security group names