You may be right about that, but I wasn't talking about sieges and sullying out. What I said is happening simply by me waiting outside the settlement gate. The AI party that attacks me doesn't come from inside, it is on their way to the settlement and decides to attack me instead of running away from me - as they should.