content: Correctly reset the edges when the model changes.
It always worked fine with "root" models, but failed with some proxies.