Fixed the problem where linked studies were not reindexed.