If Intervals detects lat/long data from GPS or a speed/distance stream, it calculates moving time from those. If none of those is detected, it assumes it is an indoor workout and considers the entire workout.
If you mix up, like you did, or if you leave GPS functionality enabled on your device, Intervals is confused.
Just to be precise: Linked post above mentions Options - Settings but it’s Actions - Settings:
