--- view.orig.inc	2008-06-02 11:01:40.000000000 +0200
+++ view.inc	2008-06-02 11:01:50.000000000 +0200
@@ -375,12 +375,13 @@
     foreach ($this->argument as $id => $arg) {
       $position++;
       $argument = &$this->argument[$id];
-      $argument['handler']->set_relationship();
 
       if (!is_object($argument['handler'])) {
         continue;
       }
 
+      $argument['handler']->set_relationship();
+
       $arg = isset($this->args[$position]) ? $this->args[$position] : NULL;
       $argument['handler']->position = $position;
 
