Fix nested array issue.