Fix errors where query params can be passed to gets