Index only if value has been set.

def _call_setnx(self, command, value):
        """
        Index only if value has been set.
        """
        result = self._traverse_command(command, value)
        if self.indexable and value is not None and result:
            self.index(value)
        return result