WooCommerce 10.7 turns off HPOS sync on read
From April 14, WooCommerce 10.7 ships with HPOS sync on read disabled. Custom code that edits orders through update_post_meta or raw SQL stops reaching the HPOS tables, so it needs moving to the CRUD API. There is a filter to buy time, but only that.