-- Resolved the stream Id in the groupBy query for fetching active events for user