Fixed unsupported "if var != :undef"