New document table truncation code
Merge branch 'master' of https://github.com/qcri-social/AIDR