Fix the delete and test the performance metrics path