Price history seems at odds with Target Price Range?

Hi All. Shopping for used 2023 BMW X5. Found one at a local dealer and used CarEdge to get pricing guidance, however I’m a bit confused - maybe someone can help?

Asking from dealership is $54K. CarEdge Price History shows three pricing events: assume original purchase, which is same as MSRP for that specific vehicle (based on VIN), a second price of $49.9K on July 1 2025, so almost certainly when the dealership acquired it, and the current dealership asking price of $54K. CarEdge is saying target price $46.7K-$49.8K, so less to equal of the acquisition price for the dealer.

These X5s seem to be popular and moving reasonably well, so I find it hard to believe the dealer would acquire at approx $50K and take less or equal to $50K to meet the Target Price Range, especially since it’s not even on the lot just yet.

What am I missing? Is that $49.9K maybe the estimated value from a returned lease and not a purchase price the dealer paid to acquire the car? Does the CarEdge target price recommendation make sense?