Conflict in Edit Order Feature


Today, I tested Shopify Edit Order feature and found there is a conflict (issue) regarding restock quantity.
Firstly i create a product with 2 quantity and create order, after that remove that line item and restock them.
In product, quantity was also restocked but if i again added that product in the cart, then on checkout it gave warning "Sold Out" refer scrrenshot :