fixed wrong comparison operator

As mentioned by Martin, i now fixed the comparison to be
logically corret.