Fix requests with no query still having a '?' at the end