Fix a traceback on the listtab