Use deepCompare for comparison of tables in historySync code.