Fix extraction of document title
In case record 0 is fairly short, reading the title would not be attempted at all.
If the title is at the very end of record 0, the title was also not extracted.
In case record 0 is fairly short, reading the title would not be attempted at all.
If the title is at the very end of record 0, the title was also not extracted.