Fixed occasional null pointer exception in MultithreadedAccessTests.