I end up with empty headers in the doc, is it possible to avoid generating the table when they don't have data? Example: 