Fix delete item when using list