Remove trailing slash in indexedUrlField

Note: not using `System.FilePath.dropTrailingPathSeparator` because this
is a URL not a path and it should be "/" even on Windows.