Fix array validation error