Fixes #4237 Forwarding segment parameter on refresh