Hotfix: fixed error where the patterns were partitioned from the entire dataset, and not the current window 'candidateSet'.