--- callouts.module.orig	2009-11-30 13:19:38.000000000 -0600
+++ callouts.module	2009-11-30 13:19:54.000000000 -0600
@@ -219,11 +219,11 @@
 			$temp[] = $b['nid'];
 		}
 		//If have a max, and array is greater then max
-		if($max && sizeof($temp)<$max){
+		if($max && sizeof($temp)>$max){
 			//randomize ids
 			shuffle($temp);
 			//shorten array to max size
-			$temp = array_splice($temp, $max);
+			array_splice($temp, $max);
 		}
 		
 	}
