Fix ArrayIndexOutOfBounds when processing schema-less data