diff --git a/invokeai/app/services/board_records/board_records_sqlite.py b/invokeai/app/services/board_records/board_records_sqlite.py index 2a1fcd35d7f..c78e6a62f86 100644 --- a/invokeai/app/services/board_records/board_records_sqlite.py +++ b/invokeai/app/services/board_records/board_records_sqlite.py @@ -285,8 +285,7 @@ def get_uncategorized_image_counts(self) -> UncategorizedImageCounts: COUNT(*) AS unassigned_count FROM images i LEFT JOIN board_images bi ON i.image_name = bi.image_name - WHERE i.image_category IN ('general', 'control', 'mask', 'user', 'other') - AND bi.board_id IS NULL + WHERE bi.board_id IS NULL AND i.is_intermediate = 0 GROUP BY category_type; """