Fixing the issue that groups and teams show or not show after deletetion and adding.