get rid of the applicable call in rand(Range1)
Merge pull request #3756 from lindahua/dh/randi1

Get rid of the applicable call in rand(Range1)