Search deletion almost working