[variational] bug fix string comparison: 'is' -> '=='