Fix assertion error while copying RKEntityMapping with connections.