Modified BehavTrialArray to work with sp_detect style behaioral sessions