diff --git a/project/dalia/query/items/search/text_search_query.py b/project/dalia/query/items/search/text_search_query.py
index c003183e701cfe4844b66b0fa9ee42ca44e4f8d8..fc546ab90e4058626f5f784a93429cd7b3503cdd 100644
--- a/project/dalia/query/items/search/text_search_query.py
+++ b/project/dalia/query/items/search/text_search_query.py
@@ -55,7 +55,6 @@ def prepare_where_for_text_search_for_learning_resources(
         ),
         # Communities also have dcterms:title and dcterms:description fields,
         # so these text search matches have to be excluded.
-        # TODO: This FILTER NOT EXISTS could be moved below the text search to improve performance.
         FILTER_EXISTS(
             (var_lr, RDF.type, MoDalia.Community),
             state=False