Change the plugin change procedure to use Backup->Nuke->Rebuild, more likely to end up in the desired state at the end if the frontend configuration is completely rebuilt.