removed Query.__init__; it caused invalid URLs

We added the __init__ method to initialize all the class attributes
(following linter advice), but I realized when using the class that it
would generate invalid URL values when some attributes were left to
None.