Siege imprisonment fixes

Fixed some edge-cases where the siege imprisonment events would cause
the wrong people to be imprisoned