Use constant expression casting for NumberExpression.between()