Change deleteWith to have a search and filter function.