v.22.6Performance Improvement

Replace multiIf with if for Single Condition Cases

Replace multiIf to if in case when multiIf has only one condition, because function if is more performant. #37695 (Anton Popov).