[FIX] models: fixes #1017; do not update list in place in the constructi...

...on of _depends on models