Fixed #21338 -- Allow to use the same class name for proxy models