diff --git a/tests/population/scaling/scaling_script.py b/tests/population/scaling/scaling_script.py
index fafc8450bdc1c8edcb5459f8c843953a2abe68a1..7831cb495b5a1edc35837ca79cc8ac4fda8edf18 100644
--- a/tests/population/scaling/scaling_script.py
+++ b/tests/population/scaling/scaling_script.py
@@ -16,7 +16,7 @@ hostname = socket.gethostname()
 
 if amount_of_cpus <= 4:
     stepsize = 1
-elif 4 < amount_of_cpus <= 24:
+elif 4 < amount_of_cpus:
     stepsize = 2
 # elif 24 < amount_of_cpus <= 48:
 #     stepsize = 4
@@ -123,4 +123,4 @@ result_dict['mp'] = mp_dict
 
 
 with open('scaling_results/{}_{}_systems.json'.format(hostname, total_systems), 'w') as f:
-    f.write(json.dumps(result_dict))
\ No newline at end of file
+    f.write(json.dumps(result_dict))