Add support to tables with different <th> and <td> number