Fix another segfault in pipeevent