Remove useless part of condition.