Ensure plans based on index hints are not pruned away too early