change to comparison line

Causes problem for search and delete multiple item