Misc updates for aamod_realign, make it work for missing sessions