tweaks to enable proper spike trial selection for fieldtrip