Fixed remove participant function to remove participant with right id