Correct calls to Random.Next to enable the return of the correct maximum values