fixing some RandomUtils methods to never return above value2
yet another fix for potential mishaps