fixed bug for filtered view of events