Fix bugs calculating active nids and PSTHs for ptc15.tr7c recs