Limit the TableCheckboxToggler to 'top level' tables.

At @mrhenry we have some custom index views one of which has nested tables (not because we live in 1995 but because it actually makes sense...). This patch fixes the `TableCheckboxToggler` so that it only deals with *top level* tables.