Fix bug in relationship migration.