core_v2_forumReply.List overload 1 inconsistency in scripted endpoint (Javascript)

Hello,

I'm trying to use core_v2_forumReply.List() in our Javascript scripted endpoint to return the replies to a forum thread, specifically overload 1 which only requires the thread ID.

We're seeing strange behaviour in which sometimes the data type it consumes seems to randomly change. Sometimes it only likes to consume numbers, sometimes strings and at other times, neither work. Looking at the documentation, it states it consumes "Nullable of Int32" which would suggest it has to be a number, and yet this does not always seem to be the case?

We're using version 12.1.4.26448 for context.

Any help would be much appreciated as this is causing me a great deal of confusion :)