Thanks for using our API’s.
I have tested the scenario and I am able to reproduce the same problem. For the sake of correction, I have logged it in our issue tracking system as PDFNEWNET-37581. We will investigate this issue in details and will keep you updated on the status of a correction.
We apologize for your inconvenience.