Fixed a regression with previous commit when a document is splitted in smaller chunks in the database.