Fixed apriori bug causing wrong rule generation