TEIIDDES-1962 fixed wrong variable value checks.