Fix template when security group is empty of rules