Moved search_index_store so it happens after unread items are created.