Fix pruning runs when an index gets missed