Model.py - Properly detect new has for objects that have been rewritten

* Fixes #4