Fix group deletion on plugin start