Fix bug in loading the objectstore.
Merge pull request #2076 from dart-lang/branch_bug

Fix bug in loading the objectstore.