Merge "Avoid calling deepCopyNodes on null array"