Fixed an error where the tables were being appended to the tab container instead of the individual tab.