Fix for nested transactions in indexedDB (sharing the top-level transaction now).