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

flash only if not xhr request.