Fix error in rndInt making lower bound ineffective
Merge pull request #1735 from Melvar/fix-rndint

Fix error in rndInt making lower bound ineffective