Whoops, turns out the args.num_leds isn't always valid. Who knew?