Using stream and filter on collections to filter out events.