Update truth values of the expressions containing variables as suggested...

... by @jadeoneill