Index: composite.node.inc
===================================================================
--- composite.node.inc	(revision 2441)
+++ composite.node.inc	(working copy)
@@ -47,7 +47,7 @@
             break;
 
           case 'full':
-            if (_composite_nodes_recursion_check($node)) {
+            if (_composite_nodes_recursion_check($node->nid)) {
               drupal_set_message(t('You have created an infinite loop. One node is displaying a second node which in turn displays the first node.'), 'error');
               $output =  node_view($node, TRUE, FALSE);
             }
