Not using Claude but this behaviour comes not from the model itself. Basically the model does not now what it provided in the other iterations of your for loop. Ask for 20 different profiles. Or, even better: ask for different types of cancers and iterate this list.