now using allPlans from explain result to detect missing indexes correctly.