Fixed bug in get_epilog_len when title is repeated in the text.