[FIX] Fixed wrong logic of modification bit changing within main thread.
[REFACTOR] Removed code duplication when convert records map into list
of records (history).
[FIX] Set modification bits into logically valid state from
WriterThread.
[MODIF] True reaching synchronization point.