Update pruning to handle fuzzy matches