If you set that only 2 products can be added to the cart and a customer adds 3 products, only the third product added will be shown in the cart. Since it had 2 products added, which is the maximum established and has added one more, it causes the cart to restart and pass to have only the product that was added as a third product.