Fix appendage of query parameters to explicitly-set endpoints