fixed wrong call to length
added trace
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel