Import library datasets in history, so they get numbered.
Add 'deleted' to HistoryDatasetAssociation BASE_ATTRS.