SubscribeToAll and Deletion

I am wondering if anyone experience the following behavior,

When you do a subscribeToAll, the event being stream out includes those that had been deleted? Is that a bug or a feature? If a feature how do we filter those deleted entries?

Did you scavenge after deleting?

Hi,

You cannot know that event is from a deleted stream until you receive stream deleted system event (or truncation on meta-stream if soft-deleted). Subscriptions do not use index as they process live (just committed) events.

-yuriy

Yes I did.

Is there any workaround that I can do some filtering at a different layer? I tried to find the status but that seems to be only available if I get the stream event by id but not when I subscribe and consume the event. I doubt querying the event by id every time I see an event from subscription is doable from the point of view of performance.