Updated Apriori algorithm for a slight speed up.