Fixed a bug in the table enums