Improve fault tolerance of record merger: establish missing SE links
(doesn't mean we can accept inconsistent DBs now - just that it won't crash anymore)