_fill_rows(...) now handles empty lists properly