Fix the links to another section when the current route contains parameters