Barriers to trade and disadvantageous middlemen: Nonmonotonicity of the core