diff --git a/src/calibre/library/database2.py b/src/calibre/library/database2.py index 3b06064226..6ab003f2d5 100644 --- a/src/calibre/library/database2.py +++ b/src/calibre/library/database2.py @@ -1373,7 +1373,7 @@ class LibraryDatabase2(LibraryDatabase, SchemaUpgrade, CustomColumns): if r is not None: if (now - r[self.FIELD_MAP['timestamp']]) > delta: tags = r[self.FIELD_MAP['tags']] - if tags and tag in tags.lower(): + if tags and tag in tags.lower().split(','): yield r[self.FIELD_MAP['id']] def get_next_series_num_for(self, series):