Fix migration for mapper without subkey