Making sure trailing slashes are ignored [closes #9]