I figured out what was causing it. The extra
<th></th>elements under the
<th colspan="2"></th> elements was creating the extra column. I removed all of them and now it looks fine.
Unless there is another issue with this I’m not aware of, this can be marked as solved.