Migration autodetector now corerctly deals with proxy models