Added the correct number of tabs to the table