--- translation.module	2009-01-15 00:33:20.000000000 +0100
+++ translation.module	2009-07-09 15:11:04.000000000 +0200
@@ -1135,11 +1135,11 @@
  *   Value that will be returned if no translation is found
  * @return
  *   Translated node nid if exists, or $default
  */
 function translation_node_nid($nid, $language = NULL, $default = NULL) {
-  $translation = db_result(db_query("SELECT n.nid FROM {i18n_node} n INNER JOIN {i18n_node} a ON n.trid = a.trid AND n.nid <> a.nid WHERE a.nid = %d AND n.language = '%s' AND n.trid is not null", $nid, $language ? $language : i18n_get_lang()));
+  $translation = db_result(db_query("SELECT n.nid FROM {i18n_node} n INNER JOIN {i18n_node} a ON n.trid = a.trid AND n.nid <> a.nid WHERE a.nid = %d AND n.language = '%s' AND not n.trid=0", $nid, $language ? $language : i18n_get_lang()));
   return $translation ? $translation : $default;
 }
 
 /**
  * Get translated term's tid
