This looks like the "direct flight" issue, as doc says. If it's one flight number, you get credit for nonstop mileage. If possible book it as two separate segments to avoid this.
Note: this can work to your advantage if you have a "one-segment upgrade"!