This was the solution. Now the roles aren’t getting removed. Thank you so much for your continued support!