Fixed the bug related to removing an item from the cart