diff --git a/invokeai/app/services/board_records/board_records_sqlite.py b/invokeai/app/services/board_records/board_records_sqlite.py index 2a1fcd35d7..c78e6a62f8 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 @@ class SqliteBoardRecordStorage(BoardRecordStorageBase): 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; """