Fixes for adding a security group.