AMCV Cookie is not being set on the first page load
Hello Community, We recently found a bug on our site that the AMCV cookie which contains ecid is not being set when page gets loaded for the first time. It is being set after 2 or 3 page loads. After some debug, i figured that this is likely happening due to the Opt-in settings we have in ECID extension.
Within ECID extension, we have configurations below:

"Previous Permission" uses a "onetrust: adobe consent" data element which returns either true/false for below objects based on our CMS OneTrust active consent groups on the page:
return {
aa: analyticsConsent,
aam: aamConsent,
target: targetConsent,
ecid: ecidConsent
};
When i look up the value of "onetrust: adobe consent" data element in the browser after the first load, i can see that it is setting everything as "true"

However, these values are not being passed to adobe as "true" for some reason and when i look for adobe.OptIn.permissions on the console, it is returning the below result.

Can someone help me explain on why this is happening and how to fix?
Any leads would be appreciated!
