diff --git node_reference/node_reference.module node_reference/node_reference.module
index dc1ba87..dfc2c6e 100644
--- node_reference/node_reference.module
+++ node_reference/node_reference.module
@@ -802,10 +802,8 @@ function node_reference_content_migrate_field_alter(&$field_value) {
  * conversion, as when formatter or widget names or settings are changed.
  */
 function node_reference_content_migrate_instance_alter(&$instance_value) {
-  // The module name for the instance was corrected
-  // by the change in node_reference_content_migrate_field_alter().
-  switch ($instance_value['module']) {
-    case 'node_reference':
+  switch ($instance_value['widget']['module']) {
+    case 'nodereference':
       // The formatter names changed, all are prefixed
       // with 'node_reference_'.
       foreach ($instance_value['display'] as $context => $settings) {
