Fix that trigger.triggerOnset returns np.int64 array in all cases