added fix for DB bloat in infothek and documents