Hi Carlos,
Yes, the workaround fixes the issue and the desired amount of recorded are fetched. Thank you.
I hope, in future SMP SP/PL, the JavaScript mode could handle the casting behind the scene. To me, explicitly passing in java.lang.Integer is not very intuitive - need to check the log and do the manual casting.
Kind Regards,
Jinlin