but you did have an item checked when you initially submitted the form to clear the cart.
When you use the browsers back button, it is submitting the original form.
The remove item behavior uses the line index to determine which item to delete.
This is a drawback of using the browsers back button.