diff --git a/pysnmp/smi/mibs/SNMPv2-TC.py b/pysnmp/smi/mibs/SNMPv2-TC.py
index <HASH>..<HASH> 100644
--- a/pysnmp/smi/mibs/SNMPv2-TC.py
+++ b/pysnmp/smi/mibs/SNMPv2-TC.py
@@ -302,7 +302,8 @@ class RowStatus(Integer, TextualConvention):
         # Run through states transition matrix, 
         # resolve new instance value
         excValue, newState = self.stateMatrix.get(
-            (value, self.hasValue() and self or self.stNotExists),
+            (value.hasValue() and value or self.stNotExists,
+             self.hasValue() and self or self.stNotExists),
             (error.MibOperationError, None)
         )
         newState = self.clone(newState)
fix to RowStatus instantiation in case if uninitialized value is passed