Cookie consent given and not given Segment

Hi, we have some problems with segmenting visitor by cookie consent given or rejected.
We follow the tutorial (https://matomo.org/faq/how-to/how-do-i-segment-people-that-have-been-identified-using-tracking-cookies/) and this what happens:

When a user has not alrealdy given cookie consent he appear in the “No cookie consent given” segment and when he accept the cookie consent he immediately moves to “Cookie consent given” segment.
This work perfectly.

But now if the same user edit his preferences and remove the authorization the cookie is deleted (with forgetCookieConsentGiven method) but he still remain in the “Cookie consent given” segment.

Why?

He should move to the “no cookie consent given” segment.
Thank you for your help