Fix gap filling skipping outlier events that are missing their previous events. Contributed by @eleboucher.