modified writeCosimilarity method so that the daoFilter filters out redirects and only Articles