Ensure the index sent is valid.
Merge branch 'master' of https://github.com/calafou/coinjoin