Fix pipe exit inclusion/exclusion bug.