How are you determining that those two lines are not the same? I've used this option (ie: using !%var rather than %var == $null) many times, and I have yet to see it fail.