Fix #57 (closed) and another bug caused by the fix
Since commit 012d096f, IdentityIndexOf it's correctly pruned. Before this commit, we found the associated author, even for a removed identity, it still failed when we tried to modify the identity, but then the error returned was not the right one.