Fix for deleting topics