Fix bug when list events by kind