set-cookie creating cookie with same name as existing cookie instead of overwriting it
I am attempting to use `trusted-set-cookie` to overwrite a cookie on [zocdoc.com](https://www.zocdoc.com/) so it defaults to classic search instead of AI search. However, instead of overwriting the cookie, it's creating a separate cookie with the same name.
zocdoc.com##+js(trusted-set-cookie, ai_search_homepage_selected_mode, classic)

The cookie uBO created has a listed domain of [`www.zocdoc.com`](http://www.zocdoc.com) and is marked secure while the site's native cookie has a domain of `.zocdoc.com` and isn't marked secure. The native cookie gets created when switching search modes on the site.
Why is uBO creating a new cookie with the same name as the existing cookie instead of overwriting it?