fix bug in commit 33fb87c6285cc6d2aa9d17a958ef8c25c0495317 where no table would be selected if the previously "active" table started with an underscore
whitespace fixes