Fixed bug in bug fix D'OH!

Left trailing slash where it wasn't wanted and removed it where
it was required.