Trying to use restrict_to_interval on an individual trial (which is a Pandas Series, rather than a DataFrame) doesn't seem to work (many of the functions used by restrict_to_interval require a DataFrame input).
In fact, it seems that perhaps many functions would fail if given a single trial (e.g. get_time_varying_fields).
A possible solution might be to put in explicit checks in functions for single trial input instead of a DataFrame. I'm not sure if that would need to be done in every function that assumes a DataFrame, or if there's a more elegant solution available.