Planner changes to support IN/EXISTS expressions