Multple product order problem

Hello, I set up ordering and everything works fine if user order one Item, but when user order multiple items I have problem I am not getting all data, and cart is not clearing.

This is video.

So I think this is problem

Because when user click on X, there is missing current category from main. Is there any way to fix it and connect it?