Functional rework of DatabaseReconciliator to not crash on gaps and such. This commit is dedicated to that one coach that would NOT shut up about topological sort.