Bug in Promotional Scheme/Pricing Rule when Rate is applied

So, the when the pricing rule gets applied on mixed Conditions - there is a bug where by the values are not cleared off and double discount happens on one or two of the items.

For example -
The promotion scheme is set up as under

and accordingly 3 pricing rules are created.

So now when creating a sales order or a delivery note -

while adding the items

After saving we are getting these values which are no where part of the pricing rule

Also after deleting/reducing the quantity the pricing rule is not reversed

I think this has to do with a temporary variable storing the total qty for the mixed condition to be true which is not getting emptied correctly before every step.

I hope I am able to explain the issue at hand.

hello… any help on this…? much appreciated.