Multiple inserted object relationships do not save

When creating multiple new objects and relating them, the relationships do not get saved. Since the object has not yet been synced with Parse, it has not yet been assigned a Parse objectId.