Fix some weirdness when a single data event contains multiple lines