Fix Off-By-One Error In HD Wallet Section

Discovered by /u/lifeboatz on Reddit.  Thanks!
Merge pull request #401 from bitcoin/devdoc-hd-offby1

Fix Off-By-One Error In HD Wallet Section