Fix compact example: separate arrays are expected for each nested record

The times of different records must be found in separate arrays, and not be
listed in the same array as shown erroneously in previous version.