fix range op under aborted constant folding