I noticed that on some activities, if you look at the interval data, the average pace is calculated based on all data or just work data (intervals and not rest included). But on some activities, selecting just the work data (intervals), the average pace calculation still includes all data, also rest.