Add querystring defaults to route data before checking constraints.

Fixes #270.