Fix failure to delete mods