Fix randomizer range bug