Fix init mapping, incorrect sequence for complex relationships