VID-1961 always set the variable to true or false instead of true or undefined