Tweak to the addRow method of Gantt, to catch the case where rows contain an empty tasks array.  This avoids an exception when expandColumns() is called.