Bad alg param in identity header copy from A to B leg

Hi all,
I have an issue when the parameters of identity header are in disorder.

for example, I receive call (leg A):
Identity: BASE64;info=<https://toto>;ppt=shaken;alg=ES256
ppt is before alg

but in leg B, outgoing call is:
Identity: BASE64;info=<https://toto>;alg=ES256;ppt=shaken;alg=ES256
alg is doubled.

but no issue when alg is before ppt (Identity: BASE64;info=<https://toto>;alg=ES256;ppt=shaken)

Do you have some exaplainations please ?

Thanks in advance

FS version: FreeSWITCH Version 1.10.9-release+git~20230203T200730Z~a615e85afc~64bit (git a615e85 2023-02-03 20:07:30Z 64bit)
I tested with last 1.10.12, it’s the same issue