diff --git a/classes/Utils.php b/classes/Utils.php
index 39405b2f16b293d1e8566997efc4c8643156b4f3..e4695317b2b4fd575a6010fe2af44a6f8f0d4213 100644
--- a/classes/Utils.php
+++ b/classes/Utils.php
@@ -87,6 +87,9 @@ class Utils{
   	  if(sizeof($row) >0){
   	  	array_push($obj, $row);
   	  }
+  	  if(sizeof($aux) == 1){
+  	  	return $row;
+  	  }
   	}
   	return $obj;
   }