Fix join view index for the documents which has references inside
the linked section.