Fix expired plot deletion