Added minor fix for security groups