Fixed blatant slip in if-condition.