fix for randomIvalInteger, ghc #8898
Merge pull request #4 from NovaDenizen/master

fix for randomIvalInteger, ghc #8898