Remove '?' from query string. Fixes #1823

This is a breaking change. But technically the query string does not include the question mark. Additionally, template logic can be more straightforward because the parameter will now be empty if there is no query string in the URL.