Fixed focus issue. Delete items while searching.