I guess this sallying issue could be seen as realistic in a way - the besieged garrison see a relieving army on the way and say 'hooray' we're saved, they rush out of the castle they've been cooped up in to get their revenge on the besiegers, but then get a surprise when they're attacked.