Fixed Randrange boundary error