Stock levels replenished when you archive an invoice

Currently, when you archive an invoice, the stock that was allocated to this invoice does not get replenished in the stock levels.

This is a super annoying headache. please fix this guys! thank you.