We should at this point already know that the classes are the same.
The code above just checks their names, but I think it should really be checking their class.
In which case, we don't need to compare the list of things we are comparing, since they are, by construction, going to be the same.