Fixed bug for setting defaults in nested array.