Updating deletion of facets according to new database model.