Deleting item functionality improved.