Deal with orphaned tables

Signed-off-by: fred <lefred@percona.com>