Fix: EZP-22959: trailing slash in unordered params not removed (legacy)