Fix array relationship replacement import