delete references to documents and collections when docs are deleted
delete the query results in the model when the query is unsubscribed