Don't include question mark if query string is empty