@ -126,7 +126,7 @@ namespace NzbDrone.Core.IndexerSearch
episodes = _episodeService.EpisodesWithoutFiles(pagingSpec).Records.ToList();
}
var queue = _queueService.GetQueue().Select(q => q.Episode.Id);
var queue = _queueService.GetQueue().Where(q => q.Episode != null).Select(q => q.Episode.Id);
var missing = episodes.Where(e => !queue.Contains(e.Id)).ToList();
SearchForMissingEpisodes(missing, message.Trigger == CommandTrigger.Manual);