Bug Report in Shipping Calculations (with discount code)?

Maybe somebody can correct me but a customer contacted us today having trouble receiving free shipping on an order after he had applied a discount code at checkout. It turned out that he had tried to checkout, found that after the discount the shipping cost was triggered then added another product to meet the minimum spend but was still being charged shipping cost. I then managed to replicate the problem myself and solve it but selecting the “collection” option for shipping then reselecting the “mailing” option. It did not solve itself with a page refresh. It seems that the order in which the shipping is calculated and discount applied can lead to errors. Here are screenshots of the incorrect checkout and the corrected version after I went back and reselected the mailing option:

Any tips on resolving this or similar problems would be welcome because this was not a great first experience for our customer.

Thanks in advance.

I don’t think it is the product weight because that doesn’t change. The shipping remains added incorrectly until you go back an reselect the shipping option then it correctly recalculates. It seems to be a problem with the system not recalculating the the shipping when a customer edits their basket from the checkout page.

Our URL is kalkman.cc you are welcome to have a look. I doubt it is the discount code because this is just using the standard Shopify functionality, not an app or custom code. The discount code also mostly works fine.

Update: i have SOLVED this problem by setting up the postage rates and zones again so that it is impossible for more than one rate to apply to a particular parcel.