diff --git a/tincanapi.module b/tincanapi.module
index 44a714d..31877c1 100644
--- a/tincanapi.module
+++ b/tincanapi.module
@@ -175,7 +175,7 @@ function tincanapi_get_object($entity_type, $entity) {
       $internal_path = tincanapi_internal_path($entity);
       if ($internal_path) {
         $path = explode('/', drupal_get_normal_path($internal_path));
-        if ($path[0] == 'node') {
+        if ($path[0] == 'node' && is_numeric($path[1])) {
           return tincanapi_get_object('node', node_load($path[1]));
         }
         else {
