(maint) Fix bug with generating extra data

Prior to this commit, when I refactored how I generated tables I
duplicated a lot of data by misplacing where I add the table body code.
This commit fixes that problem so it doesn't generate all of the extra
duplicate data.