Handle the Model::ATT_TYPE_DELETED flag correctly in the schema handling.