NEXUS-6250: index rendering with query params

Query params broke the links that were rendered when a
collection index page was rendered.

Issue
https://issues.sonatype.org/browse/NEXUS-6250

CI
TBD