Fix addData: always create array, don't guess.

With the old code, adding arrays with addData lead to wrong results,
because all but the first arrays were added *into* that first array,
instead of creating an outer array at the second call.