destroy order in model

Does every "content" belong to a bag? If so, you're probably trying to
delete the same thing twice.

You might try getting rid of the dependent statement on #b, and let the
bag destroy its contents..

Cheers
Starr