Fixing a bug with slash routes

Change-Id: I849e35c554e84e64719c3e6cd48934b9f3e6ee4e