Fix addRowData in case of array data and undeined rowid. Thanks to GeorgeG