diff --git a/batmenTools/swf_filter.py b/batmenTools/swf_filter.py
index 076c40a1eb9a16f8f95a2e756862ea99ee74fce8..614ca271f626d1ec226654b7b230b6b7df18460e 100755
--- a/batmenTools/swf_filter.py
+++ b/batmenTools/swf_filter.py
@@ -51,8 +51,7 @@ def filter_workload(input_swf:str, output_swf:str=None,
                 partition_id = int(res.group(SwfField.PARTITION_ID.value))
 
                 # Select jobs to keep
-                is_valid_job = (nb_res > 0 and walltime >=
-                                run_time and run_time >= 0 and submit_time >= 0)
+                is_valid_job = (nb_res > 0 and run_time >= 0 and submit_time >= 0)
                 select_partition = ((partitions_to_select is None) or
                                     (partition_id in partitions_to_select))
                 use_job = select_partition and (