--- views_query.inc.orig	2007-01-14 11:28:02.765625000 -0500
+++ views_query.inc	2007-01-14 11:28:19.031250000 -0500
@@ -335,7 +335,7 @@ function _views_build_summary(&$query, $
    * Set the base field to be distinct.
    */
   function set_distinct() {
-    if (count($this->fields) && substr($this->fields[0], 0, 7) != 'DISTINCT') {
+    if (count($this->fields) && substr($this->fields[0], 0, 8) != 'DISTINCT') {
       $field = $this->fields[0];
       $this->fields[0] = "DISTINCT($field)";
       $this->count_field = "DISTINCT($field)";
