Make urls with ending trailing slashes work