Add support for hinted leaf plans in the exhaustive planner