Fix bug where this.model is dereferenced without checking for existence first