Fix array struct validation error