Are $in and $item numeric? If not, use $in eq $item instead.
Hope this helps, -gjb-
In reply to Re: Problem comparing two variables by gjb in thread Problem comparing two variables by blaze