Same here, we should set obj to 0 and then only do the kind_of<Array> check if obj is not 0. Looks like there's no issue with array wrapping here though like with the previous case.