Required querystring parameter name was being concatenated to last variable name in the route.