Fix trailing slash bug.
Merge pull request #154 from andrew-plunk/working

Fix trailing slash bug.