Replaced $PI->getAuthor()->getReferences() by DQL INNER JOIN in order to filter by date. Work in progress.