Great example!  We run into this class of problem so much at work.  I don't have the language to classify it, but basically we write seemingly innocuous handling of changes to mutable objects (especially database changes) that produces real bugs.  I think a post about common pitfalls of mutable data models would be interesting.  And I think we could add links in that post to "Write debugger friendly data models."