Apparently, AA's application of the rules is a manual process, resulting in occasional anomalies, such as your itinerary. The hard part is for us to determine when anomalies become the rules, given that AA does not publish many of the rules for public viewing.