Fixed off by one error.
Merge pull request #3 from amasad/master

Fixed off by one error.