Thank you very much for the reproduction. Indeed there is an issue when the passed parameters are not of the expected type, but rather nulls.
We are currently working on this issue, and I will update you as soon as it's fixed. In the mean time you could use your own workaround, as you did in InterestinglyPasses(), by casting the null to the argument type.