Fixed bug in value copying for array attribute values when initial value is null