Handle incorrectly encoded query params correctly by returning a 400.