Fix metric deletion