Fix na_io_provider_get_io_providers_list() so that write order is better respected