The problem isn’t with older thralls; it seems to be any newer ones that are placed. I already posted about it here: Archers are falling off walls without being engaged in combat.
@JJDancer is correct, but the only thing you should do for new archers is set them to Stand and Defend. However, there is a problem; my newly placed archers periodically fall off the wall.