Fix migration autodector to work correctly with custom deconstructed values