Bugfix in t2listing next_tablename() method: was failing for listings with extra primary table at end, and no generation table