Sales order line taking negative item price

Any help will be appreciated
I’m facing a bug in sales order line,
While adding the items in sales order line it is taking the item value correctly but assume a senerio that if we select a wrong item and want to add the correct item again in such case the item price is taking in negative and somtimes in 0.
There is no changes in core erpnext by me can someone help me out with this.

Hello
Any Update
Anyone