There was a woeful story on here recently where someone had booked TPA-LAX (or maybe LAS) and the flight went via MIA. TPA-destination was 1955 miles, but the MIA-destination was >2000.
Pax only awarded the shorter distance and that was that. Bummer!