Fix indexing of empty tupletables + data explorer UI functionality