Correct random label subset generation