Piped subevents fix

Fixes the piped subevent bug