Fixed output in show tables
Removing current table now doesn't lead to undefined behaviour.