Update Apriori algorithm for a slight speed up.