Handle missing tablecolumns[], fixes bug #1187