Removed arbitrary depth limit so that more complex documents can be exported.

(Yo @cemregr, why was this here? :)