Index: scheduler/type.c
===================================================================
--- scheduler/type.c	(revision 8575)
+++ scheduler/type.c	(working copy)
@@ -209,7 +209,7 @@
 
         DEBUG_printf(("mimeAddTypeRule: Creating new AND group %p...\n", temp));
       }
-      else
+      else if (current->parent)
       {
         DEBUG_printf(("mimeAddTypeRule: Setting group %p op to AND...\n",
 	              current->parent));
