Debugged query in modifyParticipantStatus