Fixed security group sync bug