If you're using /assist, there is a delay due to latency for your second Warlock, so it might not be targeting your target when you tell it to attack, which will cause it to pick (most likely) the biggest, meanest, most unwanted mob in the area. You just have to wait an extra second or two before hitting the Attack button.