Added constraints to many_to_many relations for paranoia.
Cleaned up security group interface deletion