I found a bug:

when You want to delete order in admin, only quantity on products is restocking, not in products_attributes.

I fixed it. Description is in this package.

More...