Fixed mistake in array nesting