Allow multiheader tables

This patch enable tables with multiple header rows.