Adjust randomization to prevent duplicate notes