Fix wrong test condition.