Fixed to work with primitive arrays

The previous behavior always returned null from GetTypeFromNamePair from what I can tell.  This fixes what I expect is the intended behavior.

There is something going very wrong lower in the stack here, as this GetTypeFromNamePair is only called under high concurrency in my testing.  I'm nearly certain of some threading issues lower in the stack.