Add postwalk for unions and intersections