Bugfix for Nginx in virtual environments
Don't generate URLs with query parameters set to their default