Improved error message with boolean expressions that always or never evaluate to false/nil