I'm not sure that this is desired behavior.  Do we really want between-trial keypresses to get included in the list of keypresses for the preceding trial?