Fixed bug where switching failed with multiple classes on a copy version element.