Currently this needs to be added back manually if a loyalty voucher has been used and the order has been refunded. This seems crazy that this is not a basic function already.