Corrected output of results. Now correctly outputs all combinations of pairs of all aliases, instead of only combinations of pairs of documents.