Adding td inside tr then add the tr inside the tbody instead of adding the td directly in tbody.
Fixing the duplicated tbody by adding script to remove the added tbody when Outsystems have data.