The partial filter of the index: {deleted: false} on the snapshots, {version: {$exists: true}} on a log.
{deleted: false}
{version: {$exists: true}}