Fix overrun (pointer to table end n+1) in table listing