Fix for URIs not ending in /