diff --git a/qng/generator.py b/qng/generator.py
index <HASH>..<HASH> 100644
--- a/qng/generator.py
+++ b/qng/generator.py
@@ -1,3 +1,4 @@
+import copy
 import json
 import operator
 import os
@@ -90,13 +91,15 @@ class QuebNameGenerator:
         return names
 
     def _get_male_names(self):
-        names = [name for name in self._names if name['gender'] == 'male']
+        names = copy.deepcopy(self._names)
+        names = [name for name in names if name['gender'] == 'male']
         names = self._compute_weights(names)
 
         return names
 
     def _get_female_names(self):
-        names = [name for name in self._names if name['gender'] == 'female']
+        names = copy.deepcopy(self._names)
+        names = [name for name in names if name['gender'] == 'female']
         names = self._compute_weights(names)
 
         return names
Fix: deepcopy dictionaries for gendered lists