Fix small issue with event parsing