Perhaps this should be forked off somehow at this point? We're introducing a mandatory database lock here since all documents get this flag, which then gets removed in the update method. In the `update()`-method are doing a `DBCollection.findAndModify()` by an indexed field (`_id`), so it is probably pretty cheap. But since most documents probably do not have attachments, it can be a rather expensive thing to do all the time.