Users are appearing as assigned to the course via team even though the course is not part of a team anymore. This is applicable when admin assigns the course to a Team and immediately removes the course from the team

Users still show as assigned to a course via a team after the course was removed from the team. Wait for the original assignment to finish then reassign the course to the team, wait one minute for completion, remove the course, and wait for removal to propagate so team users are unassigned.