Index: temp/trunk/html/admin/batch/daily.php
===================================================================
--- temp/trunk/html/admin/batch/daily.php	(revision 4986)
+++ temp/trunk/html/admin/batch/daily.php	(revision 4987)
@@ -240,5 +240,5 @@
 			$where = $where . " AND order_birth < cast('$end_date' as date)";
 		}else{
-			$where = $base_where . " AND order_birth >= cast('$end_date' as date)";
+			$where = $base_where . " AND order_birth < cast('$end_date' as date)";
 			$end_age = 999;
 		}
