Correction to handle nested url-prefixing