diff --git a/workflow/scripts/parseMeta.py b/workflow/scripts/parseMeta.py
index 825a37978cdcdc246c6ee457160373461c4b1c18..6ba068d32f8bffa346cc7f3fb3fa695b08b43272 100644
--- a/workflow/scripts/parseMeta.py
+++ b/workflow/scripts/parseMeta.py
@@ -25,7 +25,7 @@ def main():
         else:
             rep=metaFile["Replicate_RID"].unique()[0]
             print(rep)
-        if (len(metaFile[metaFile["File_Type"] == "FastQ"].all()) > 2):
+        if (len(metaFile[metaFile["File_Type"] == "FastQ"]) > 2):
             print("There are more then 2 fastq's in the metadata: " + " ".join(metaFile[metaFile["File_Type"] == "FastQ"].RID))
             exit(1)
     if (args.parameter == "ends"):