Index: /fact/tools/pyscripts/pyfact/cleaners.py
===================================================================
--- /fact/tools/pyscripts/pyfact/cleaners.py	(revision 13118)
+++ /fact/tools/pyscripts/pyfact/cleaners.py	(revision 13119)
@@ -117,5 +117,5 @@
             return surv
         else:
-            return np.where(surv)
+            return np.where(surv)[0]
 
             
