delete old query search