CAAERS-6275: The participant query is changed to include studyId.