I'm willing to bet that this is because you're doing a case sensitive comparison.

Edit: Nevermind, glad you got it sorted out.