properly arbitrate between possible values of plot_rand_idx