Modify code to avoid filtering epochs.