CFY-924 fixed bug when creating a security group with a reference to an ...

...other security group