Fix dropping of old metrics. The logic of selecting tablenames was wrong
(bad parentheses)