diff --git a/plugins/FeedsTermProcessor.inc b/plugins/FeedsTermProcessor.inc
index 83183b0..0889f00 100644
--- a/plugins/FeedsTermProcessor.inc
+++ b/plugins/FeedsTermProcessor.inc
@@ -128,7 +128,6 @@ class FeedsTermProcessor extends FeedsProcessor {
   * Override setTargetElement to operate on a target item that is a term.
   */
   public function setTargetElement(FeedsSource $source, $target_node, $target_element, $value) {
-
     switch ($target_element) {
       case 'parent':
         if (!empty($value)) {
@@ -146,18 +145,16 @@ class FeedsTermProcessor extends FeedsProcessor {
             $target_node->parent[] = 0;
           }
         }
-        else {
-          $target_node->parent[] = 0;
-        }
         break;
       case 'parentguid':
-        // value is parent_guid field value
-        $query = db_select('feeds_item')
-          ->fields('feeds_item', array('entity_id'))
-          ->condition('entity_type', $this->entityType());
-        $parent_tid = $query->condition('guid', $value)->execute()->fetchField();
-        $target_node->parent[] = ($parent_tid) ? $parent_tid : 0;
-
+        if (!empty($value)) {
+          // value is parent_guid field value
+          $query = db_select('feeds_item')
+            ->fields('feeds_item', array('entity_id'))
+            ->condition('entity_type', $this->entityType());
+          $parent_tid = $query->condition('guid', $value)->execute()->fetchField();
+          $target_node->parent[] = ($parent_tid) ? $parent_tid : 0;
+        }
         break;
       case 'weight':
         if (!empty($value)) {
