Mileage is technically supposed to be calculated by the most expensive "transited" region. In this case it's Middle East. However, it may be up to the agent to notice that this happened @:-)
You may have gotten lucky because it was a change not a new booking.