Before the fix, when 'tp_list' was empty it created a cell array, but the code expected that if the tp_list is a cell array each cell should contain the time points for the corresponding site like {[2:4], [3:4], [2:4]}, which is not the case with the default.
After the fix, when 'tp_list' is empty it creates a numeric array, applying all time points (based on the order of ExpID) to all siteIDs, as described in 'tp_list' variable in docstring.