Remove extra dependency on tenant from migrate_secgroup function