Fix tbody table built

The table rows were being placed outside of the tbody.