Log in
Create a collection
Put a work or two in it
Create a subcollection of your collection
Put a work or two in it
Remove the subcollection from the parent collection
What happens
Sometimes, the works from the subcollection don't get reindexed and thus continue to appear on the /works page for the parent collection.
What should happen
The works should always go away.
Notes
Yes, we're sure the works weren't in both collections, and yes, we're sure it's an indexing issue – there was no connection between the work and the parent collection in the database, but the parent collection was still listed in the work's collection_id in Elasticsearch.
The collection this affected was open and unmoderated.