Fixed router url creation infinite loop.