Fixed bug in IndexedDBStore and adapters.
merge