Don't worry, its easy to fix. You can simply remove the student from the incorrect class and either invite them or give them the class key of the correct one for them to join.
Need more help? You might find these useful:
What should I do if students were added to the wrong class?
Can't find what you are looking for?
Contact Us