UrlGenerationError handles mixed constraint hashes