diff --git a/query.py b/query.py
index ea6490f01aa77ee78c0a849143bbd94f29874e84..7f4594d64a010b86b8e7c38e3805d1f231027aae 100644
--- a/query.py
+++ b/query.py
@@ -11,7 +11,7 @@ total_citations = 0
 # Process the data to make the title a string and not an array of strings
 for paper in paper_list:
     if paper.bibcode == "2023arXiv230513380S":
-        continue
+        to_remove = paper
 
     paper.title = paper.title[0]
     paper.bibstem = paper.bibstem[0]
@@ -20,7 +20,9 @@ for paper in paper_list:
     if hasattr(paper, "abstract"):
         paper.abstract = paper.abstract.replace("<P />", "")
     total_citations += paper.citation_count
-    
+
+paper_list.remove(to_remove)
+
 # Create a dictionary of cards
 my_list = dict({"num_papers": query_data.num_found,
                 "total_citations": total_citations,