Empty array values crashes, fixed for len=1 arrays

Hacked up a fix for schema crashing when the item array has a length of 1 and contains reflect.Invalid.