HOTFIX: Fix checking "length" being undefined.

Forgot that we took requests by JSON, which already has type information.