Handle error when deleting an already removed item from cart #6024