Fix possible search output duplication