Index: primary_term.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/primary_term/primary_term.module,v
retrieving revision 1.8
diff -r1.8 primary_term.module
38c38,40
<           if (is_array($v) && !empty($v[$tid])) {
---
>           if (is_object($v) && $v->tid == $tid) {
>             return;
>           } else if (is_array($v) && !empty($v[$tid])) {
