Remove events duplication. WIP. Maybe we should grouping from mongodb first