It looks like there is a hard-coded limit of 16 characters in the procedure. You will need to make your ID values unique in the first 16 characters to be able to differentiate them. You can report the issue to Technical Support, and request that the 16 character limit be extended.
... View more