fixes #6126 - deleting a subnet that is associated with a host group throws foreign key error

@ohadlevy, ok I will remove the `dependant => :destroy` on `has_many :trends`