Fix a bug: update pull ontology for terminated contracts
Fix a bug to create model from reloaded / resurrected contracts.