Fix an issue with certain URLs not generating.