Remove the isNaN check, allow depth 0.

Relates to #49.