[TASK] Remove empty table at end of list output