Fix issues when validation integer condition inputs