- Use the correct unique key value, which fixes the crash James reported - Ensure the error is properly initialized in case of an incorrect key.   This code path was never hit previously since the key was always correct.
- Use the correct unique key value, which fixes the crash James reported
- Ensure the error is properly initialized in case of an incorrect key.
  This code path was never hit previously since the key was always correct.


git-svn-id: 765db44a9620ed55f4f8addfd3c14fe8cd57f6bb@4055 0fceea05-a30d-0410-8a8b-80ef821fb0a1

nanoant/Skim,nanoant/Skim,nanoant/Skim,nanoant/Skim,nanoant/Skim