Improved history core data concurrency.

Change-Id: I46d1a3bff139f4aee1e9d050fc73c5cc47337510