Revert "Fixed bug that prevented the making of the tables"

This reverts commit 3520ee0d112680770492a32d5d7b19cc2a9ff507.
Revert "Revert "Fixed bug that prevented the making of the tables""

This reverts commit 1bf9b0d96228cf98d1b3320ce752321152d5cbc5.
Revert "Fixed bug that prevented the making of the tables"

This reverts commit 3520ee0d112680770492a32d5d7b19cc2a9ff507.