Works with tables lacking <thead> and <tbody>

Now works with tables including and not including those tags