Fix group deleting