Fix crasher on unexpected invocation with nil argument.
Treat nil arguments to unexpected invocations as [NSNull null].