ok.. maybe it's this board, but to me it looked like there is.. the other possibility that I can see is that your search isn't returning a response that matches $null.. I noticed that you're doing the 2nd comparison with a different file than the first, so is it possible that the second file has a match for your search?