Fix defect with deleting topics