Fix wrong reindexing when renaming a pocket.
Fix bugs deleting pockets and addresses.