diff --git a/src/NzbDrone.Core/Tags/TagService.cs b/src/NzbDrone.Core/Tags/TagService.cs index b8e676035..93c85fe36 100644 --- a/src/NzbDrone.Core/Tags/TagService.cs +++ b/src/NzbDrone.Core/Tags/TagService.cs @@ -198,7 +198,7 @@ namespace NzbDrone.Core.Tags { foreach (var specification in autoTag.Specifications) { - if (specification is TagSpecification) + if (specification is TagSpecification tagSpecification && tagSpecification.Value == tag.Id) { autoTagIds.Add(autoTag.Id); }