Fixed the exception we were getting

I don't think we are filling the table correctly yet, check the unit
tests for table. When I use breakpoints and explore the table structure,
we currently don't have any keys and the records don't seem to have any
relationship to the columns.