Fix error editing models with Depreciation disabled