metadata tables being dropped if they were in more than one account, fix...

...es #1349