Fixes crash when route path doesn't start with '/'