add conditional improvements

There's no reason to evaluate "equals true" "(something === true)" on the conditional so it was removed where I saw.