Fix for double slashes on root URLs.