Add `is_deleted` field with logic for ModelReference model.