Fixed bug caused by calling fetch with an index name that doesn't exist in the store

fetchActive was trying to retrieve the index "inbox", which didn't exist in the store. This caused `index = store.index(options.index.name); ` to throw `Uncaught NotFoundError: Failed to execute 'index' on 'IDBObjectStore': The specified index was not found.`